package com.itheima.service;


import com.itheima.entity.Dish;
import com.itheima.entity.Setmeal;
import com.itheima.entity.ShoppingCart;
import com.itheima.entity.User;

import javax.servlet.http.HttpSession;
import java.util.List;

/**
 * 购物车业务层接口
 */

public interface ShoppingCartService {
    /**
     * 添加购物车
     */
    ShoppingCart add(ShoppingCart shoppingCart);


    /**
     * 查询购物车
     */
    List<ShoppingCart> list();

    /**
     * 清空购物车
     */
    void clean();

    /**
     * 修改购物车
     */
    ShoppingCart update(ShoppingCart shoppingCart);
}
